package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("orders_management")
public class Order {
    @TableId(value = "o_id", type = IdType.AUTO)
    private Integer o_id;

    private Integer o_goods_id;
    private Integer o_user_id_one;
    private Integer o_user_id_two;
    private Double o_total_amount;
    private String o_status;
    private Date o_create_time;
}
